package cn.lili.modules.payment.service;

import cn.lili.modules.payment.entity.dos.CombinePaymentLog;
import cn.lili.modules.payment.entity.dto.CombineSearchParams;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;


/**
 * 合单支付日志
 *
 * @author liushuai(liushuai711 @ gmail.com)
 * @version v4.0
 * @Description:
 * @since 2023/3/28 14:33
 */

public interface CombinePaymentLogService extends IService<CombinePaymentLog> {


    /**
     * 根据合单支付号码查询合单支付
     *
     * @param combineOutTradeNo 合单支付号码
     * @return 合单支付
     */
    CombinePaymentLog getCombinePaymentLogByCombineOutTradeNo(String combineOutTradeNo);

    /**
     * 分页查询合单支付
     *
     * @param combineSearchParams 查询参数
     * @return 合单支付
     */
    Page<CombinePaymentLog> search(CombineSearchParams combineSearchParams);
}